home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS in a Box 7
/
BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso
/
Files
/
Prog
/
B-C
/
C Servant™.cpt
/
C Info.rsrc
/
TEXT_133_aText.txt
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1992-02-24
|
470 b
|
11 lines
string functions
strlens(s0 returns length of s
strcpy(s1,s2) copy s2 into s1
strcat(s1,s2) concat (append) s2 to the end of s1
strcmp(s1,s2) 0 if s1==s2,<0 if s1<s2, >0 if s1>s2
strchr(s,c) returns a pointer to c in s, else NULL
strncpy(s1,s2,n) copy up to n characters from s2 into s1
strncats(s1,s2,n) concat up to n chars from s2 to end of s1
strncmps(s1,s2,n) compare n characters, same as strcmp0